package com.itrh.base.service;

import com.itrh.base.query.BaseQuery;
import com.itrh.org.util.Result;

import java.util.List;

public interface IBaseService<T> {
    Result saveOrUpdate(T t);
    Result deleteById(Long id);
    Result selectById(Long id);
    Result selectAll();

    Result pageList(BaseQuery query);

    Result batchRemove(List<Long> ids);
}
